/*    */ package com.cr.business.service.impl;
/*    */ 
/*    */ import com.cr.business.domain.CrEvidenceInfo;
/*    */ import com.cr.business.mapper.CrEvidenceInfoMapper;
/*    */ import com.cr.business.service.ICrEvidenceInfoService;
/*    */ import com.cr.common.core.text.Convert;
/*    */ import com.cr.common.utils.MyDateUtils;
/*    */ import java.util.List;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.stereotype.Service;
/*    */ 
/*    */ @Service
/*    */ public class CrEvidenceInfoServiceImpl implements ICrEvidenceInfoService {
/*    */   @Autowired
/*    */   private CrEvidenceInfoMapper crEvidenceInfoMapper;
/*    */   
/*    */   public CrEvidenceInfo selectCrEvidenceInfoByEvidenceId(Long evidenceId) {
/* 33 */     return this.crEvidenceInfoMapper.selectCrEvidenceInfoByEvidenceId(evidenceId);
/*    */   }
/*    */   
/*    */   public List<CrEvidenceInfo> selectCrEvidenceInfoList(CrEvidenceInfo crEvidenceInfo) {
/* 45 */     return this.crEvidenceInfoMapper.selectCrEvidenceInfoList(crEvidenceInfo);
/*    */   }
/*    */   
/*    */   public int insertCrEvidenceInfo(CrEvidenceInfo crEvidenceInfo) {
/* 57 */     crEvidenceInfo.setCreateTime(MyDateUtils.getNowDate());
/* 58 */     return this.crEvidenceInfoMapper.insertCrEvidenceInfo(crEvidenceInfo);
/*    */   }
/*    */   
/*    */   public int updateCrEvidenceInfo(CrEvidenceInfo crEvidenceInfo) {
/* 70 */     crEvidenceInfo.setUpdateTime(MyDateUtils.getNowDate());
/* 71 */     return this.crEvidenceInfoMapper.updateCrEvidenceInfo(crEvidenceInfo);
/*    */   }
/*    */   
/*    */   public int deleteCrEvidenceInfoByEvidenceIds(String evidenceIds) {
/* 83 */     return this.crEvidenceInfoMapper.deleteCrEvidenceInfoByEvidenceIds(Convert.toStrArray(evidenceIds));
/*    */   }
/*    */   
/*    */   public int deleteCrEvidenceInfoByEvidenceId(Long evidenceId) {
/* 95 */     return this.crEvidenceInfoMapper.deleteCrEvidenceInfoByEvidenceId(evidenceId);
/*    */   }
           public int deleteCrEvidenceInfoByClueId(Long ClueId) {
             return this.crEvidenceInfoMapper.deleteCrEvidenceInfoByClueId(ClueId);
           }

/*    */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-business-4.7.0.jar!\com\cr\business\service\impl\CrEvidenceInfoServiceImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */